{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}/Users/aramhur/Desktop/untitled folder/bjps taiwan_output.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res} 7 Feb 2018, 10:04:59

{com}. do "/var/folders/dc/pvb3ftwn0s77yg2dqmphjsxw0000gp/T//SD05397.000000"
{txt}
{com}. /////// part I: survey analysis ///////
> 
. **** recode variables ****
. 
. gen ppltrust=Q8
{txt}
{com}.         recode ppltrust 1=0 2=1 3=2 4=3 5=4
{txt}(ppltrust: 1004 changes made)

{com}.         
. gen polint=Q1
{txt}
{com}.         recode polint 3/4=0 2=1 1=2
{txt}(polint: 1004 changes made)

{com}.         
. gen collective=Q3
{txt}
{com}.         recode collective 4/5=0 3=1 2=2 1=3
{txt}(collective: 643 changes made)

{com}. 
. gen agecat=age
{txt}
{com}.         recode agecat 1=0 2=1 3=2 4=3 5=4 9=.
{txt}(agecat: 1004 changes made)

{com}. 
. gen educat=edu
{txt}
{com}.         recode educat 1/2=0 3=1 4=2 5=3 9=.
{txt}(educat: 1004 changes made)

{com}.         label define edu 0 "below hs" 1 "hs" 2 "tech college" 3 "post univ"
{txt}
{com}.         label values educat edu
{txt}
{com}.         
. gen female=sex
{txt}
{com}.         recode female 1=0 2=1
{txt}(female: 1004 changes made)

{com}.                 
. gen income=Q49-1
{txt}
{com}.         
. gen dutyvote=Q15a
{txt}
{com}.         recode dutyvote 2/3=1 1=2 9=0
{txt}(dutyvote: 1004 changes made)

{com}. 
. gen nation_close=Q25_2
{txt}
{com}.         recode nation_close 4=0 3=1 2=2 1=3
{txt}(nation_close: 514 changes made)

{com}. 
. gen trust_elections=Q19
{txt}
{com}.         recode trust_elections 1=2 2=1 3/5=0
{txt}(trust_elections: 1004 changes made)

{com}.         
. gen trustgov=Q6
{txt}
{com}.         recode trustgov 5=0 4=1 3=2 1/2=3
{txt}(trustgov: 1004 changes made)

{com}.         
. gen trustgov3=trustgov
{txt}
{com}.                 recode trustgov3 0/1=0 2=1 3=2
{txt}(trustgov3: 939 changes made)

{com}.                 
. gen demsat=Q5
{txt}
{com}.         recode demsat 4=0 3=1 2=2 1=3
{txt}(demsat: 543 changes made)

{com}.         
.         gen demsat3=demsat
{txt}
{com}.                 recode demsat3 1/2=2 3=1 4=0
{txt}(demsat3: 404 changes made)

{com}.         
. // national types
. gen territory=Q34
{txt}
{com}.         recode territory 1=1 2=0
{txt}(territory: 184 changes made)

{com}. gen countrymen=Q35
{txt}
{com}.         recode countrymen 1=1 2/3=0             
{txt}(countrymen: 352 changes made)

{com}. gen countrygov=Q36
{txt}
{com}.         recode countrygov 1=1 2/3=0
{txt}(countrygov: 183 changes made)

{com}. gen culturediff2=Q37
{txt}
{com}.         recode culturediff2 1/2=1 3/4=0
{txt}(culturediff2: 963 changes made)

{com}.         
. 
. // definitions of taiwan
. 
.         // taiwan = own state and people/culture (dpp stance)
.         gen taiwan_nation=0
{txt}
{com}.                 replace taiwan_nation=1 if territory==1 & countrygov==1 & countrymen==1 & culturediff2==1
{txt}(247 real changes made)

{com}.         
.         // taiwan = political state, part of chinese culture/people (weak kmt stance)
.         gen taiwan_state1=0
{txt}
{com}.                 replace taiwan_state1=1 if territory==1 & countrygov==1 & countrymen==1 & culturediff2==0
{txt}(345 real changes made)

{com}.         
.         gen taiwan_state2=0
{txt}
{com}.                 replace taiwan_state2=1 if territory==1 & countrygov==1 & countrymen==0 & culturediff2==0
{txt}(115 real changes made)

{com}.         
.         // taiwan = part of china (strong kmt stance)
.                 
.         gen taiwan_partchina1=0
{txt}
{com}.                 replace taiwan_partchina1=1 if territory==0 & countrygov==1 & countrymen==0 & culturediff2==0
{txt}(56 real changes made)

{com}.         
.         gen taiwan_partchina=0
{txt}
{com}.                 replace taiwan_partchina=1 if territory==0 & countrygov==0 & countrymen==0 & culturediff2==0
{txt}(83 real changes made)

{com}. 
.                                                 
.         gen nationtypes=.
{txt}(1,004 missing values generated)

{com}.         replace nationtypes=1 if taiwan_nation==1
{txt}(247 real changes made)

{com}.         replace nationtypes=2 if taiwan_state1==1
{txt}(345 real changes made)

{com}.         replace nationtypes=3 if taiwan_partchina==1    
{txt}(83 real changes made)

{com}. 
.         
. **** analysis ****
. //rescale variables 0-1
. replace dutyvote=dutyvote/2
{txt}(710 real changes made)

{com}. replace polint=polint/2
{txt}(749 real changes made)

{com}. replace trust_elections=trust_elections/2
{txt}(711 real changes made)

{com}. replace nation_close=nation_close/3
{txt}(971 real changes made)

{com}. replace agecat=agecat/4
{txt}(666 real changes made)

{com}. gen agesq=(agecat)^2
{txt}(14 missing values generated)

{com}. replace educat=educat/3
{txt}(984 real changes made)

{com}. replace collective=collective/3
{txt}(888 real changes made)

{com}. replace ppltrust=ppltrust/4
{txt}(972 real changes made)

{com}. replace income=income/9
{txt}(934 real changes made)

{com}. replace demsat3=demsat3/2
{txt}(865 real changes made)

{com}. 
. 
. //replicate results in table 2
. //pooled
. reg dutyvote c.nation_close##c.trust_elections collective ppltrust polint agecat agesq educat [pweight=wt] if nationtypes!=.
{txt}(sum of wgt is   6.7205e+02)

Linear regression                               Number of obs     = {res}       666
                                                {txt}F(9, 656)         =  {res}     9.26
                                                {txt}Prob > F          = {res}    0.0000
                                                {txt}R-squared         = {res}    0.1278
                                                {txt}Root MSE          =    {res} .35945

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}         dutyvote{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      t{col 51}   P>|t|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}nation_close {c |}{col 19}{res}{space 2} .1550647{col 31}{space 2} .0898145{col 42}{space 1}    1.73{col 51}{space 3}0.085{col 59}{space 4}-.0212939{col 72}{space 3} .3314232
{txt}{space 2}trust_elections {c |}{col 19}{res}{space 2}-.0025951{col 31}{space 2}  .115573{col 42}{space 1}   -0.02{col 51}{space 3}0.982{col 59}{space 4}-.2295327{col 72}{space 3} .2243425
{txt}{space 17} {c |}
{space 3}c.nation_close#{c |}
c.trust_elections {c |}{col 19}{res}{space 2} .0065624{col 31}{space 2} .1561093{col 42}{space 1}    0.04{col 51}{space 3}0.966{col 59}{space 4}-.2999717{col 72}{space 3} .3130965
{txt}{space 17} {c |}
{space 7}collective {c |}{col 19}{res}{space 2} .1204412{col 31}{space 2} .0587933{col 42}{space 1}    2.05{col 51}{space 3}0.041{col 59}{space 4} .0049954{col 72}{space 3} .2358871
{txt}{space 9}ppltrust {c |}{col 19}{res}{space 2} -.113086{col 31}{space 2} .0819572{col 42}{space 1}   -1.38{col 51}{space 3}0.168{col 59}{space 4} -.274016{col 72}{space 3} .0478441
{txt}{space 11}polint {c |}{col 19}{res}{space 2}  .303387{col 31}{space 2} .0478503{col 42}{space 1}    6.34{col 51}{space 3}0.000{col 59}{space 4} .2094289{col 72}{space 3} .3973452
{txt}{space 11}agecat {c |}{col 19}{res}{space 2} .3540516{col 31}{space 2} .1528905{col 42}{space 1}    2.32{col 51}{space 3}0.021{col 59}{space 4} .0538379{col 72}{space 3} .6542653
{txt}{space 12}agesq {c |}{col 19}{res}{space 2}-.3455041{col 31}{space 2} .1750244{col 42}{space 1}   -1.97{col 51}{space 3}0.049{col 59}{space 4}-.6891798{col 72}{space 3}-.0018284
{txt}{space 11}educat {c |}{col 19}{res}{space 2}-.0997306{col 31}{space 2} .0660305{col 42}{space 1}   -1.51{col 51}{space 3}0.131{col 59}{space 4}-.2293871{col 72}{space 3}  .029926
{txt}{space 12}_cons {c |}{col 19}{res}{space 2} .3020862{col 31}{space 2} .1009919{col 42}{space 1}    2.99{col 51}{space 3}0.003{col 59}{space 4} .1037798{col 72}{space 3} .5003926
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. 
. //china nationalists
. reg dutyvote c.nation_close##c.trust_elections collective ppltrust polint agecat agesq educat [pweight=wt] if taiwan_partchina==1 
{txt}(sum of wgt is   8.5119e+01)

Linear regression                               Number of obs     = {res}        80
                                                {txt}F(9, 70)          =  {res}     8.43
                                                {txt}Prob > F          = {res}    0.0000
                                                {txt}R-squared         = {res}    0.3462
                                                {txt}Root MSE          =    {res} .34198

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}         dutyvote{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      t{col 51}   P>|t|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}nation_close {c |}{col 19}{res}{space 2} .5615407{col 31}{space 2} .2638661{col 42}{space 1}    2.13{col 51}{space 3}0.037{col 59}{space 4} .0352763{col 72}{space 3} 1.087805
{txt}{space 2}trust_elections {c |}{col 19}{res}{space 2} .4318187{col 31}{space 2} .2639106{col 42}{space 1}    1.64{col 51}{space 3}0.106{col 59}{space 4}-.0945344{col 72}{space 3} .9581717
{txt}{space 17} {c |}
{space 3}c.nation_close#{c |}
c.trust_elections {c |}{col 19}{res}{space 2}-.4290627{col 31}{space 2} .3732096{col 42}{space 1}   -1.15{col 51}{space 3}0.254{col 59}{space 4}-1.173406{col 72}{space 3} .3152805
{txt}{space 17} {c |}
{space 7}collective {c |}{col 19}{res}{space 2} .5133116{col 31}{space 2}  .176473{col 42}{space 1}    2.91{col 51}{space 3}0.005{col 59}{space 4} .1613473{col 72}{space 3} .8652758
{txt}{space 9}ppltrust {c |}{col 19}{res}{space 2}  .009916{col 31}{space 2}  .255832{col 42}{space 1}    0.04{col 51}{space 3}0.969{col 59}{space 4} -.500325{col 72}{space 3} .5201569
{txt}{space 11}polint {c |}{col 19}{res}{space 2} .1002443{col 31}{space 2}  .139456{col 42}{space 1}    0.72{col 51}{space 3}0.475{col 59}{space 4} -.177892{col 72}{space 3} .3783806
{txt}{space 11}agecat {c |}{col 19}{res}{space 2} .5595262{col 31}{space 2} .4073835{col 42}{space 1}    1.37{col 51}{space 3}0.174{col 59}{space 4}-.2529746{col 72}{space 3} 1.372027
{txt}{space 12}agesq {c |}{col 19}{res}{space 2}-.4987398{col 31}{space 2} .3894352{col 42}{space 1}   -1.28{col 51}{space 3}0.205{col 59}{space 4}-1.275444{col 72}{space 3} .2779642
{txt}{space 11}educat {c |}{col 19}{res}{space 2} .0384023{col 31}{space 2} .1575865{col 42}{space 1}    0.24{col 51}{space 3}0.808{col 59}{space 4} -.275894{col 72}{space 3} .3526987
{txt}{space 12}_cons {c |}{col 19}{res}{space 2}-.3782794{col 31}{space 2} .2146371{col 42}{space 1}   -1.76{col 51}{space 3}0.082{col 59}{space 4}-.8063595{col 72}{space 3} .0498008
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. 
. //new taiwanese
. reg dutyvote c.nation_close##c.trust_elections collective ppltrust polint agecat agesq educat [pweight=wt] if taiwan_state1==1
{txt}(sum of wgt is   3.3195e+02)

Linear regression                               Number of obs     = {res}       342
                                                {txt}F(9, 332)         =  {res}     5.07
                                                {txt}Prob > F          = {res}    0.0000
                                                {txt}R-squared         = {res}    0.1266
                                                {txt}Root MSE          =    {res} .35634

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}         dutyvote{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      t{col 51}   P>|t|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}nation_close {c |}{col 19}{res}{space 2} .1192357{col 31}{space 2} .1336682{col 42}{space 1}    0.89{col 51}{space 3}0.373{col 59}{space 4}-.1437078{col 72}{space 3} .3821792
{txt}{space 2}trust_elections {c |}{col 19}{res}{space 2}-.0054023{col 31}{space 2} .1646592{col 42}{space 1}   -0.03{col 51}{space 3}0.974{col 59}{space 4}-.3293091{col 72}{space 3} .3185046
{txt}{space 17} {c |}
{space 3}c.nation_close#{c |}
c.trust_elections {c |}{col 19}{res}{space 2} .0563636{col 31}{space 2} .2297998{col 42}{space 1}    0.25{col 51}{space 3}0.806{col 59}{space 4}-.3956836{col 72}{space 3} .5084109
{txt}{space 17} {c |}
{space 7}collective {c |}{col 19}{res}{space 2} .1947593{col 31}{space 2} .0859473{col 42}{space 1}    2.27{col 51}{space 3}0.024{col 59}{space 4} .0256894{col 72}{space 3} .3638293
{txt}{space 9}ppltrust {c |}{col 19}{res}{space 2}-.0514154{col 31}{space 2} .1281592{col 42}{space 1}   -0.40{col 51}{space 3}0.689{col 59}{space 4}-.3035218{col 72}{space 3}  .200691
{txt}{space 11}polint {c |}{col 19}{res}{space 2} .2478457{col 31}{space 2}   .06936{col 42}{space 1}    3.57{col 51}{space 3}0.000{col 59}{space 4} .1114051{col 72}{space 3} .3842862
{txt}{space 11}agecat {c |}{col 19}{res}{space 2}   .22885{col 31}{space 2} .2139808{col 42}{space 1}    1.07{col 51}{space 3}0.286{col 59}{space 4}-.1920791{col 72}{space 3} .6497792
{txt}{space 12}agesq {c |}{col 19}{res}{space 2}-.3797853{col 31}{space 2} .2461723{col 42}{space 1}   -1.54{col 51}{space 3}0.124{col 59}{space 4}-.8640394{col 72}{space 3} .1044689
{txt}{space 11}educat {c |}{col 19}{res}{space 2}-.2644017{col 31}{space 2} .0928234{col 42}{space 1}   -2.85{col 51}{space 3}0.005{col 59}{space 4}-.4469979{col 72}{space 3}-.0818054
{txt}{space 12}_cons {c |}{col 19}{res}{space 2} .4030654{col 31}{space 2} .1410186{col 42}{space 1}    2.86{col 51}{space 3}0.005{col 59}{space 4} .1256627{col 72}{space 3} .6804682
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. 
. 
. //taiwan nationalists
. reg dutyvote c.nation_close##c.trust_elections collective ppltrust polint agecat agesq educat [pweight=wt] if taiwan_nation==1
{txt}(sum of wgt is   2.5497e+02)

Linear regression                               Number of obs     = {res}       244
                                                {txt}F(9, 234)         =  {res}     6.15
                                                {txt}Prob > F          = {res}    0.0000
                                                {txt}R-squared         = {res}    0.1725
                                                {txt}Root MSE          =    {res} .35089

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}         dutyvote{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      t{col 51}   P>|t|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}nation_close {c |}{col 19}{res}{space 2}  .102147{col 31}{space 2} .1204316{col 42}{space 1}    0.85{col 51}{space 3}0.397{col 59}{space 4}-.1351217{col 72}{space 3} .3394157
{txt}{space 2}trust_elections {c |}{col 19}{res}{space 2}-.0744407{col 31}{space 2} .1674512{col 42}{space 1}   -0.44{col 51}{space 3}0.657{col 59}{space 4}-.4043453{col 72}{space 3} .2554638
{txt}{space 17} {c |}
{space 3}c.nation_close#{c |}
c.trust_elections {c |}{col 19}{res}{space 2} .0366356{col 31}{space 2} .2212132{col 42}{space 1}    0.17{col 51}{space 3}0.869{col 59}{space 4}-.3991884{col 72}{space 3} .4724597
{txt}{space 17} {c |}
{space 7}collective {c |}{col 19}{res}{space 2}-.0180375{col 31}{space 2} .0918897{col 42}{space 1}   -0.20{col 51}{space 3}0.845{col 59}{space 4}-.1990743{col 72}{space 3} .1629993
{txt}{space 9}ppltrust {c |}{col 19}{res}{space 2}-.1317956{col 31}{space 2} .1086147{col 42}{space 1}   -1.21{col 51}{space 3}0.226{col 59}{space 4}-.3457833{col 72}{space 3} .0821921
{txt}{space 11}polint {c |}{col 19}{res}{space 2} .3922228{col 31}{space 2} .0684367{col 42}{space 1}    5.73{col 51}{space 3}0.000{col 59}{space 4}  .257392{col 72}{space 3} .5270537
{txt}{space 11}agecat {c |}{col 19}{res}{space 2} .4714962{col 31}{space 2} .2397778{col 42}{space 1}    1.97{col 51}{space 3}0.050{col 59}{space 4}-.0009029{col 72}{space 3} .9438953
{txt}{space 12}agesq {c |}{col 19}{res}{space 2}-.4465895{col 31}{space 2} .2600788{col 42}{space 1}   -1.72{col 51}{space 3}0.087{col 59}{space 4}-.9589846{col 72}{space 3} .0658057
{txt}{space 11}educat {c |}{col 19}{res}{space 2} .0322238{col 31}{space 2} .1044965{col 42}{space 1}    0.31{col 51}{space 3}0.758{col 59}{space 4}-.1736504{col 72}{space 3} .2380981
{txt}{space 12}_cons {c |}{col 19}{res}{space 2} .3033901{col 31}{space 2}  .159232{col 42}{space 1}    1.91{col 51}{space 3}0.058{col 59}{space 4}-.0103213{col 72}{space 3} .6171016
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. 
. //replicate figure 1, right column
. reg dutyvote i.nationtypes##c.nation_close##c.trust_elections collective ppltrust polint agecat agesq educat [pweight=wt] if nationtypes!=.
{txt}(sum of wgt is   6.7205e+02)

Linear regression                               Number of obs     = {res}       666
                                                {txt}F(17, 648)        =  {res}     6.97
                                                {txt}Prob > F          = {res}    0.0000
                                                {txt}R-squared         = {res}    0.1483
                                                {txt}Root MSE          =    {res} .35738

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}         dutyvote{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      t{col 51}   P>|t|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}nationtypes {c |}
{space 15}2  {c |}{col 19}{res}{space 2}-.1514924{col 31}{space 2} .1240897{col 42}{space 1}   -1.22{col 51}{space 3}0.223{col 59}{space 4}-.3951589{col 72}{space 3} .0921741
{txt}{space 15}3  {c |}{col 19}{res}{space 2} -.502396{col 31}{space 2}  .186846{col 42}{space 1}   -2.69{col 51}{space 3}0.007{col 59}{space 4}-.8692926{col 72}{space 3}-.1354994
{txt}{space 17} {c |}
{space 5}nation_close {c |}{col 19}{res}{space 2} .0928641{col 31}{space 2} .1280704{col 42}{space 1}    0.73{col 51}{space 3}0.469{col 59}{space 4}-.1586189{col 72}{space 3} .3443471
{txt}{space 17} {c |}
{space 6}nationtypes#{c |}
{space 3}c.nation_close {c |}
{space 15}2  {c |}{col 19}{res}{space 2} .0827692{col 31}{space 2} .1867935{col 42}{space 1}    0.44{col 51}{space 3}0.658{col 59}{space 4}-.2840243{col 72}{space 3} .4495628
{txt}{space 15}3  {c |}{col 19}{res}{space 2} .5350784{col 31}{space 2}  .292858{col 42}{space 1}    1.83{col 51}{space 3}0.068{col 59}{space 4}-.0399869{col 72}{space 3} 1.110144
{txt}{space 17} {c |}
{space 2}trust_elections {c |}{col 19}{res}{space 2}-.0398447{col 31}{space 2} .1731106{col 42}{space 1}   -0.23{col 51}{space 3}0.818{col 59}{space 4}-.3797701{col 72}{space 3} .3000808
{txt}{space 17} {c |}
{space 6}nationtypes#{c |}
c.trust_elections {c |}
{space 15}2  {c |}{col 19}{res}{space 2} .0711151{col 31}{space 2} .2441578{col 42}{space 1}    0.29{col 51}{space 3}0.771{col 59}{space 4}-.4083209{col 72}{space 3} .5505511
{txt}{space 15}3  {c |}{col 19}{res}{space 2} .4518402{col 31}{space 2} .3187427{col 42}{space 1}    1.42{col 51}{space 3}0.157{col 59}{space 4} -.174053{col 72}{space 3} 1.077733
{txt}{space 17} {c |}
{space 3}c.nation_close#{c |}
c.trust_elections {c |}{col 19}{res}{space 2}-.0054913{col 31}{space 2} .2280112{col 42}{space 1}   -0.02{col 51}{space 3}0.981{col 59}{space 4}-.4532214{col 72}{space 3} .4422387
{txt}{space 17} {c |}
{space 6}nationtypes#{c |}
{space 3}c.nation_close#{c |}
c.trust_elections {c |}
{space 15}2  {c |}{col 19}{res}{space 2}-.0256395{col 31}{space 2} .3311402{col 42}{space 1}   -0.08{col 51}{space 3}0.938{col 59}{space 4}-.6758769{col 72}{space 3} .6245978
{txt}{space 15}3  {c |}{col 19}{res}{space 2}-.3210364{col 31}{space 2} .4502421{col 42}{space 1}   -0.71{col 51}{space 3}0.476{col 59}{space 4}-1.205146{col 72}{space 3} .5630732
{txt}{space 17} {c |}
{space 7}collective {c |}{col 19}{res}{space 2} .1078341{col 31}{space 2} .0599261{col 42}{space 1}    1.80{col 51}{space 3}0.072{col 59}{space 4}-.0098387{col 72}{space 3} .2255068
{txt}{space 9}ppltrust {c |}{col 19}{res}{space 2}-.0952562{col 31}{space 2} .0816933{col 42}{space 1}   -1.17{col 51}{space 3}0.244{col 59}{space 4}-.2556717{col 72}{space 3} .0651592
{txt}{space 11}polint {c |}{col 19}{res}{space 2} .2957418{col 31}{space 2} .0480878{col 42}{space 1}    6.15{col 51}{space 3}0.000{col 59}{space 4} .2013151{col 72}{space 3} .3901686
{txt}{space 11}agecat {c |}{col 19}{res}{space 2} .3826112{col 31}{space 2} .1503535{col 42}{space 1}    2.54{col 51}{space 3}0.011{col 59}{space 4} .0873722{col 72}{space 3} .6778501
{txt}{space 12}agesq {c |}{col 19}{res}{space 2}-.4187286{col 31}{space 2} .1658281{col 42}{space 1}   -2.53{col 51}{space 3}0.012{col 59}{space 4}-.7443539{col 72}{space 3}-.0931032
{txt}{space 11}educat {c |}{col 19}{res}{space 2}-.0928871{col 31}{space 2} .0665393{col 42}{space 1}   -1.40{col 51}{space 3}0.163{col 59}{space 4}-.2235457{col 72}{space 3} .0377715
{txt}{space 12}_cons {c |}{col 19}{res}{space 2} .3996736{col 31}{space 2} .1209833{col 42}{space 1}    3.30{col 51}{space 3}0.001{col 59}{space 4}  .162107{col 72}{space 3} .6372402
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. margins nationtypes, dydx(trust_elections) at(nation_close=(0(.1)1))
{res}
{txt}Average marginal effects{col 49}Number of obs{col 67}= {res}       666
{txt}Model VCE{col 14}: {res}Robust

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Linear prediction, predict()}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:dy/dx w.r.t.}:{space 1}{res:trust_elections}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:1._at}:{space 1}{res:{txt:nation_close}{space 4}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:2._at}:{space 1}{res:{txt:nation_close}{space 4}{txt:=} {space 9}.1}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:3._at}:{space 1}{res:{txt:nation_close}{space 4}{txt:=} {space 9}.2}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:4._at}:{space 1}{res:{txt:nation_close}{space 4}{txt:=} {space 9}.3}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:5._at}:{space 1}{res:{txt:nation_close}{space 4}{txt:=} {space 9}.4}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:6._at}:{space 1}{res:{txt:nation_close}{space 4}{txt:=} {space 9}.5}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:7._at}:{space 1}{res:{txt:nation_close}{space 4}{txt:=} {space 9}.6}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:8._at}:{space 1}{res:{txt:nation_close}{space 4}{txt:=} {space 9}.7}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:9._at}:{space 1}{res:{txt:nation_close}{space 4}{txt:=} {space 9}.8}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:10._at}:{space 1}{res:{txt:nation_close}{space 4}{txt:=} {space 9}.9}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:11._at}:{space 1}{res:{txt:nation_close}{space 4}{txt:=} {space 10}1}{p_end}
{p2colreset}{...}

{res}{txt}{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 17}{c |}{col 29} Delta-method
{col 17}{c |}      dy/dx{col 29}   Std. Err.{col 41}      t{col 49}   P>|t|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}trust_elections {txt}{c |}
_at#nationtypes {c |}
{space 10} 1 1  {c |}{col 17}{res}{space 2}-.0398447{col 29}{space 2} .1731106{col 40}{space 1}   -0.23{col 49}{space 3}0.818{col 57}{space 4}-.3797701{col 70}{space 3} .3000808
{txt}{space 10} 1 2  {c |}{col 17}{res}{space 2} .0312704{col 29}{space 2} .1725906{col 40}{space 1}    0.18{col 49}{space 3}0.856{col 57}{space 4}-.3076339{col 70}{space 3} .3701748
{txt}{space 10} 1 3  {c |}{col 17}{res}{space 2} .4119955{col 29}{space 2} .2700567{col 40}{space 1}    1.53{col 49}{space 3}0.128{col 57}{space 4}-.1182964{col 70}{space 3} .9422874
{txt}{space 10} 2 1  {c |}{col 17}{res}{space 2}-.0403938{col 29}{space 2}  .152361{col 40}{space 1}   -0.27{col 49}{space 3}0.791{col 57}{space 4}-.3395748{col 70}{space 3} .2587872
{txt}{space 10} 2 2  {c |}{col 17}{res}{space 2} .0281574{col 29}{space 2}  .150312{col 40}{space 1}    0.19{col 49}{space 3}0.851{col 57}{space 4}-.2670001{col 70}{space 3} .3233148
{txt}{space 10} 2 3  {c |}{col 17}{res}{space 2} .3793428{col 29}{space 2} .2358437{col 40}{space 1}    1.61{col 49}{space 3}0.108{col 57}{space 4}-.0837674{col 70}{space 3} .8424529
{txt}{space 10} 3 1  {c |}{col 17}{res}{space 2}-.0409429{col 29}{space 2} .1322886{col 40}{space 1}   -0.31{col 49}{space 3}0.757{col 57}{space 4} -.300709{col 70}{space 3} .2188232
{txt}{space 10} 3 2  {c |}{col 17}{res}{space 2} .0250443{col 29}{space 2} .1286538{col 40}{space 1}    0.19{col 49}{space 3}0.846{col 57}{space 4}-.2275844{col 70}{space 3} .2776729
{txt}{space 10} 3 3  {c |}{col 17}{res}{space 2}   .34669{col 29}{space 2} .2034308{col 40}{space 1}    1.70{col 49}{space 3}0.089{col 57}{space 4}-.0527732{col 70}{space 3} .7461531
{txt}{space 10} 4 1  {c |}{col 17}{res}{space 2}-.0414921{col 29}{space 2} .1132539{col 40}{space 1}   -0.37{col 49}{space 3}0.714{col 57}{space 4} -.263881{col 70}{space 3} .1808969
{txt}{space 10} 4 2  {c |}{col 17}{res}{space 2} .0219312{col 29}{space 2} .1079897{col 40}{space 1}    0.20{col 49}{space 3}0.839{col 57}{space 4}-.1901207{col 70}{space 3} .2339831
{txt}{space 10} 4 3  {c |}{col 17}{res}{space 2} .3140372{col 29}{space 2} .1738278{col 40}{space 1}    1.81{col 49}{space 3}0.071{col 57}{space 4}-.0272967{col 70}{space 3} .6553711
{txt}{space 10} 5 1  {c |}{col 17}{res}{space 2}-.0420412{col 29}{space 2}  .095877{col 40}{space 1}   -0.44{col 49}{space 3}0.661{col 57}{space 4}-.2303084{col 70}{space 3} .1462259
{txt}{space 10} 5 2  {c |}{col 17}{res}{space 2} .0188181{col 29}{space 2} .0890147{col 40}{space 1}    0.21{col 49}{space 3}0.833{col 57}{space 4}-.1559741{col 70}{space 3} .1936102
{txt}{space 10} 5 3  {c |}{col 17}{res}{space 2} .2813844{col 29}{space 2} .1487224{col 40}{space 1}    1.89{col 49}{space 3}0.059{col 57}{space 4}-.0106516{col 70}{space 3} .5734204
{txt}{space 10} 6 1  {c |}{col 17}{res}{space 2}-.0425903{col 29}{space 2} .0812289{col 40}{space 1}   -0.52{col 49}{space 3}0.600{col 57}{space 4}-.2020941{col 70}{space 3} .1169134
{txt}{space 10} 6 2  {c |}{col 17}{res}{space 2}  .015705{col 29}{space 2} .0730573{col 40}{space 1}    0.21{col 49}{space 3}0.830{col 57}{space 4}-.1277526{col 70}{space 3} .1591626
{txt}{space 10} 6 3  {c |}{col 17}{res}{space 2} .2487317{col 29}{space 2} .1307317{col 40}{space 1}    1.90{col 49}{space 3}0.058{col 57}{space 4}-.0079772{col 70}{space 3} .5054405
{txt}{space 10} 7 1  {c |}{col 17}{res}{space 2}-.0431395{col 29}{space 2} .0710187{col 40}{space 1}   -0.61{col 49}{space 3}0.544{col 57}{space 4}-.1825941{col 70}{space 3} .0963151
{txt}{space 10} 7 2  {c |}{col 17}{res}{space 2} .0125919{col 29}{space 2}  .062474{col 40}{space 1}    0.20{col 49}{space 3}0.840{col 57}{space 4} -.110084{col 70}{space 3} .1352678
{txt}{space 10} 7 3  {c |}{col 17}{res}{space 2} .2160789{col 29}{space 2} .1230179{col 40}{space 1}    1.76{col 49}{space 3}0.079{col 57}{space 4}-.0254829{col 70}{space 3} .4576407
{txt}{space 10} 8 1  {c |}{col 17}{res}{space 2}-.0436886{col 29}{space 2} .0672976{col 40}{space 1}   -0.65{col 49}{space 3}0.516{col 57}{space 4}-.1758362{col 70}{space 3}  .088459
{txt}{space 10} 8 2  {c |}{col 17}{res}{space 2} .0094788{col 29}{space 2} .0601707{col 40}{space 1}    0.16{col 49}{space 3}0.875{col 57}{space 4}-.1086744{col 70}{space 3}  .127632
{txt}{space 10} 8 3  {c |}{col 17}{res}{space 2} .1834261{col 29}{space 2} .1274607{col 40}{space 1}    1.44{col 49}{space 3}0.151{col 57}{space 4}-.0668597{col 70}{space 3} .4337119
{txt}{space 10} 9 1  {c |}{col 17}{res}{space 2}-.0442377{col 29}{space 2} .0710918{col 40}{space 1}   -0.62{col 49}{space 3}0.534{col 57}{space 4}-.1838359{col 70}{space 3} .0953604
{txt}{space 10} 9 2  {c |}{col 17}{res}{space 2} .0063657{col 29}{space 2} .0670069{col 40}{space 1}    0.10{col 49}{space 3}0.924{col 57}{space 4}-.1252111{col 70}{space 3} .1379426
{txt}{space 10} 9 3  {c |}{col 17}{res}{space 2} .1507733{col 29}{space 2} .1429309{col 40}{space 1}    1.05{col 49}{space 3}0.292{col 57}{space 4}-.1298903{col 70}{space 3}  .431437
{txt}{space 10}10 1  {c |}{col 17}{res}{space 2}-.0447869{col 29}{space 2} .0813567{col 40}{space 1}   -0.55{col 49}{space 3}0.582{col 57}{space 4}-.2045415{col 70}{space 3} .1149677
{txt}{space 10}10 2  {c |}{col 17}{res}{space 2} .0032526{col 29}{space 2} .0806921{col 40}{space 1}    0.04{col 49}{space 3}0.968{col 57}{space 4}-.1551969{col 70}{space 3} .1617022
{txt}{space 10}10 3  {c |}{col 17}{res}{space 2} .1181206{col 29}{space 2} .1663805{col 40}{space 1}    0.71{col 49}{space 3}0.478{col 57}{space 4}-.2085894{col 70}{space 3} .4448305
{txt}{space 10}11 1  {c |}{col 17}{res}{space 2} -.045336{col 29}{space 2} .0960394{col 40}{space 1}   -0.47{col 49}{space 3}0.637{col 57}{space 4} -.233922{col 70}{space 3} .1432499
{txt}{space 10}11 2  {c |}{col 17}{res}{space 2} .0001396{col 29}{space 2} .0984093{col 40}{space 1}    0.00{col 49}{space 3}0.999{col 57}{space 4}-.1931001{col 70}{space 3} .1933792
{txt}{space 10}11 3  {c |}{col 17}{res}{space 2} .0854678{col 29}{space 2}  .194951{col 40}{space 1}    0.44{col 49}{space 3}0.661{col 57}{space 4}-.2973441{col 70}{space 3} .4682797
{txt}{hline 16}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. marginsplot, noci

{text}{p 2 6 2}Variables that uniquely identify margins: nation_close nationtypes{p_end}
{res}{txt}
{com}. 
. // replicate table 3
. gen dutytax_china=Q33
{txt}
{com}.         recode dutytax_china 3/5=0 2=1 1=2
{txt}(dutytax_china: 1004 changes made)

{com}.         replace dutytax_china=dutytax_china/2
{txt}(182 real changes made)

{com}.         
. gen class=Q9
{txt}
{com}.         recode class 4/5=0 3=1  1/2=2
{txt}(class: 632 changes made)

{com}.         replace class=class/2
{txt}(818 real changes made)

{com}. 
. reg dutytax_china nation_close collective ppltrust class female agecat agesq [pweight=wt] if taiwan_partchina==1 
{txt}(sum of wgt is   8.5119e+01)

Linear regression                               Number of obs     = {res}        80
                                                {txt}F(7, 72)          =  {res}     1.32
                                                {txt}Prob > F          = {res}    0.2530
                                                {txt}R-squared         = {res}    0.1370
                                                {txt}Root MSE          =    {res} .34775

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}dutytax_ch~a{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
nation_close {c |}{col 14}{res}{space 2} .2991125{col 26}{space 2} .1774047{col 37}{space 1}    1.69{col 46}{space 3}0.096{col 54}{space 4}-.0545373{col 67}{space 3} .6527624
{txt}{space 2}collective {c |}{col 14}{res}{space 2}-.1801161{col 26}{space 2} .2017516{col 37}{space 1}   -0.89{col 46}{space 3}0.375{col 54}{space 4}-.5823005{col 67}{space 3} .2220684
{txt}{space 4}ppltrust {c |}{col 14}{res}{space 2}-.0597448{col 26}{space 2} .2289078{col 37}{space 1}   -0.26{col 46}{space 3}0.795{col 54}{space 4} -.516064{col 67}{space 3} .3965745
{txt}{space 7}class {c |}{col 14}{res}{space 2} -.254117{col 26}{space 2} .1231293{col 37}{space 1}   -2.06{col 46}{space 3}0.043{col 54}{space 4}-.4995707{col 67}{space 3}-.0086632
{txt}{space 6}female {c |}{col 14}{res}{space 2}-.0471365{col 26}{space 2} .1008382{col 37}{space 1}   -0.47{col 46}{space 3}0.642{col 54}{space 4}-.2481539{col 67}{space 3} .1538808
{txt}{space 6}agecat {c |}{col 14}{res}{space 2}-.1454731{col 26}{space 2} .4590275{col 37}{space 1}   -0.32{col 46}{space 3}0.752{col 54}{space 4}-1.060528{col 67}{space 3} .7695815
{txt}{space 7}agesq {c |}{col 14}{res}{space 2} .3583017{col 26}{space 2}  .460058{col 37}{space 1}    0.78{col 46}{space 3}0.439{col 54}{space 4}-.5588072{col 67}{space 3}  1.27541
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .2789348{col 26}{space 2} .1583937{col 37}{space 1}    1.76{col 46}{space 3}0.082{col 54}{space 4}-.0368172{col 67}{space 3} .5946869
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. reg dutytax_china nation_close collective ppltrust class female agecat agesq [pweight=wt] if taiwan_nation==1
{txt}(sum of wgt is   2.5497e+02)

Linear regression                               Number of obs     = {res}       244
                                                {txt}F(7, 236)         =  {res}     1.07
                                                {txt}Prob > F          = {res}    0.3855
                                                {txt}R-squared         = {res}    0.0915
                                                {txt}Root MSE          =    {res}  .2325

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}dutytax_ch~a{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
nation_close {c |}{col 14}{res}{space 2} .0717163{col 26}{space 2} .0534923{col 37}{space 1}    1.34{col 46}{space 3}0.181{col 54}{space 4}-.0336671{col 67}{space 3} .1770997
{txt}{space 2}collective {c |}{col 14}{res}{space 2} .0425224{col 26}{space 2} .0673257{col 37}{space 1}    0.63{col 46}{space 3}0.528{col 54}{space 4}-.0901138{col 67}{space 3} .1751586
{txt}{space 4}ppltrust {c |}{col 14}{res}{space 2} -.123646{col 26}{space 2} .1053479{col 37}{space 1}   -1.17{col 46}{space 3}0.242{col 54}{space 4}-.3311884{col 67}{space 3} .0838964
{txt}{space 7}class {c |}{col 14}{res}{space 2} .0164528{col 26}{space 2} .0567035{col 37}{space 1}    0.29{col 46}{space 3}0.772{col 54}{space 4}-.0952569{col 67}{space 3} .1281626
{txt}{space 6}female {c |}{col 14}{res}{space 2} .0048701{col 26}{space 2} .0309546{col 37}{space 1}    0.16{col 46}{space 3}0.875{col 54}{space 4}-.0561126{col 67}{space 3} .0658528
{txt}{space 6}agecat {c |}{col 14}{res}{space 2}-.5008761{col 26}{space 2} .2246302{col 37}{space 1}   -2.23{col 46}{space 3}0.027{col 54}{space 4}-.9434125{col 67}{space 3}-.0583397
{txt}{space 7}agesq {c |}{col 14}{res}{space 2} .6945302{col 26}{space 2} .3433417{col 37}{space 1}    2.02{col 46}{space 3}0.044{col 54}{space 4} .0181241{col 67}{space 3} 1.370936
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .1070002{col 26}{space 2} .0785243{col 37}{space 1}    1.36{col 46}{space 3}0.174{col 54}{space 4}-.0476978{col 67}{space 3} .2616983
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. 
. //replicate appendix 2: placebo test replacing trust_elections with diff incentive (democratic satisfaction)
. reg dutyvote c.nation_close##c.demsat3 collective ppltrust polint agecat agesq educat [pweight=wt] if nationtypes==1
{txt}(sum of wgt is   2.5497e+02)

Linear regression                               Number of obs     = {res}       244
                                                {txt}F(9, 234)         =  {res}     5.86
                                                {txt}Prob > F          = {res}    0.0000
                                                {txt}R-squared         = {res}    0.1708
                                                {txt}Root MSE          =    {res} .35124

{txt}{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 17}{c |}{col 29}    Robust
{col 1}       dutyvote{col 17}{c |}      Coef.{col 29}   Std. Err.{col 41}      t{col 49}   P>|t|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 3}nation_close {c |}{col 17}{res}{space 2} .0433606{col 29}{space 2} .1828331{col 40}{space 1}    0.24{col 49}{space 3}0.813{col 57}{space 4}-.3168487{col 70}{space 3}   .40357
{txt}{space 8}demsat3 {c |}{col 17}{res}{space 2}-.0440054{col 29}{space 2} .1379689{col 40}{space 1}   -0.32{col 49}{space 3}0.750{col 57}{space 4}-.3158253{col 70}{space 3} .2278144
{txt}{space 15} {c |}
{space 1}c.nation_close#{c |}
{space 6}c.demsat3 {c |}{col 17}{res}{space 2} .0875192{col 29}{space 2} .2124862{col 40}{space 1}    0.41{col 49}{space 3}0.681{col 57}{space 4}-.3311114{col 70}{space 3} .5061497
{txt}{space 15} {c |}
{space 5}collective {c |}{col 17}{res}{space 2}-.0194199{col 29}{space 2} .0911477{col 40}{space 1}   -0.21{col 49}{space 3}0.831{col 57}{space 4}-.1989949{col 70}{space 3} .1601551
{txt}{space 7}ppltrust {c |}{col 17}{res}{space 2}-.1418578{col 29}{space 2} .1096044{col 40}{space 1}   -1.29{col 49}{space 3}0.197{col 57}{space 4}-.3577954{col 70}{space 3} .0740798
{txt}{space 9}polint {c |}{col 17}{res}{space 2} .3911752{col 29}{space 2} .0678973{col 40}{space 1}    5.76{col 49}{space 3}0.000{col 57}{space 4} .2574072{col 70}{space 3} .5249432
{txt}{space 9}agecat {c |}{col 17}{res}{space 2} .4608159{col 29}{space 2} .2403594{col 40}{space 1}    1.92{col 49}{space 3}0.056{col 57}{space 4} -.012729{col 70}{space 3} .9343608
{txt}{space 10}agesq {c |}{col 17}{res}{space 2}-.4441017{col 29}{space 2} .2626983{col 40}{space 1}   -1.69{col 49}{space 3}0.092{col 57}{space 4}-.9616577{col 70}{space 3} .0734543
{txt}{space 9}educat {c |}{col 17}{res}{space 2}  .024186{col 29}{space 2} .1032146{col 40}{space 1}    0.23{col 49}{space 3}0.815{col 57}{space 4}-.1791627{col 70}{space 3} .2275346
{txt}{space 10}_cons {c |}{col 17}{res}{space 2} .3255583{col 29}{space 2} .1748692{col 40}{space 1}    1.86{col 49}{space 3}0.064{col 57}{space 4}-.0189609{col 70}{space 3} .6700776
{txt}{hline 16}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. reg dutyvote c.nation_close##c.demsat3 collective ppltrust polint agecat agesq educat [pweight=wt] if nationtypes==2
{txt}(sum of wgt is   3.3195e+02)

Linear regression                               Number of obs     = {res}       342
                                                {txt}F(9, 332)         =  {res}     5.09
                                                {txt}Prob > F          = {res}    0.0000
                                                {txt}R-squared         = {res}    0.1286
                                                {txt}Root MSE          =    {res} .35592

{txt}{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 17}{c |}{col 29}    Robust
{col 1}       dutyvote{col 17}{c |}      Coef.{col 29}   Std. Err.{col 41}      t{col 49}   P>|t|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 3}nation_close {c |}{col 17}{res}{space 2} .1317036{col 29}{space 2} .2292181{col 40}{space 1}    0.57{col 49}{space 3}0.566{col 57}{space 4}-.3191995{col 70}{space 3} .5826066
{txt}{space 8}demsat3 {c |}{col 17}{res}{space 2}-.0997141{col 29}{space 2} .1679954{col 40}{space 1}   -0.59{col 49}{space 3}0.553{col 57}{space 4}-.4301837{col 70}{space 3} .2307555
{txt}{space 15} {c |}
{space 1}c.nation_close#{c |}
{space 6}c.demsat3 {c |}{col 17}{res}{space 2} .0629013{col 29}{space 2} .2520247{col 40}{space 1}    0.25{col 49}{space 3}0.803{col 57}{space 4}-.4328652{col 70}{space 3} .5586679
{txt}{space 15} {c |}
{space 5}collective {c |}{col 17}{res}{space 2} .1902388{col 29}{space 2} .0852308{col 40}{space 1}    2.23{col 49}{space 3}0.026{col 57}{space 4} .0225783{col 70}{space 3} .3578992
{txt}{space 7}ppltrust {c |}{col 17}{res}{space 2}-.0364698{col 29}{space 2} .1270527{col 40}{space 1}   -0.29{col 49}{space 3}0.774{col 57}{space 4}-.2863995{col 70}{space 3} .2134599
{txt}{space 9}polint {c |}{col 17}{res}{space 2} .2523935{col 29}{space 2} .0680754{col 40}{space 1}    3.71{col 49}{space 3}0.000{col 57}{space 4}   .11848{col 70}{space 3} .3863069
{txt}{space 9}agecat {c |}{col 17}{res}{space 2} .2490482{col 29}{space 2} .2137251{col 40}{space 1}    1.17{col 49}{space 3}0.245{col 57}{space 4} -.171378{col 70}{space 3} .6694744
{txt}{space 10}agesq {c |}{col 17}{res}{space 2}-.3920857{col 29}{space 2}  .250027{col 40}{space 1}   -1.57{col 49}{space 3}0.118{col 57}{space 4}-.8839226{col 70}{space 3} .0997512
{txt}{space 9}educat {c |}{col 17}{res}{space 2}-.2604892{col 29}{space 2} .0946967{col 40}{space 1}   -2.75{col 49}{space 3}0.006{col 57}{space 4}-.4467704{col 70}{space 3} -.074208
{txt}{space 10}_cons {c |}{col 17}{res}{space 2} .4465045{col 29}{space 2} .1955629{col 40}{space 1}    2.28{col 49}{space 3}0.023{col 57}{space 4} .0618059{col 70}{space 3} .8312031
{txt}{hline 16}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. reg dutyvote c.nation_close##c.demsat3 collective ppltrust polint agecat agesq educat [pweight=wt] if nationtypes==3
{txt}(sum of wgt is   8.5119e+01)

Linear regression                               Number of obs     = {res}        80
                                                {txt}F(9, 70)          =  {res}     6.05
                                                {txt}Prob > F          = {res}    0.0000
                                                {txt}R-squared         = {res}    0.3265
                                                {txt}Root MSE          =    {res} .34708

{txt}{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 17}{c |}{col 29}    Robust
{col 1}       dutyvote{col 17}{c |}      Coef.{col 29}   Std. Err.{col 41}      t{col 49}   P>|t|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 3}nation_close {c |}{col 17}{res}{space 2} .5482071{col 29}{space 2} .3974985{col 40}{space 1}    1.38{col 49}{space 3}0.172{col 57}{space 4}-.2445787{col 70}{space 3} 1.340993
{txt}{space 8}demsat3 {c |}{col 17}{res}{space 2}  .106695{col 29}{space 2} .3159596{col 40}{space 1}    0.34{col 49}{space 3}0.737{col 57}{space 4}-.5234665{col 70}{space 3} .7368566
{txt}{space 15} {c |}
{space 1}c.nation_close#{c |}
{space 6}c.demsat3 {c |}{col 17}{res}{space 2}-.2740707{col 29}{space 2}   .43644{col 40}{space 1}   -0.63{col 49}{space 3}0.532{col 57}{space 4}-1.144523{col 70}{space 3} .5963814
{txt}{space 15} {c |}
{space 5}collective {c |}{col 17}{res}{space 2} .5608589{col 29}{space 2} .1730891{col 40}{space 1}    3.24{col 49}{space 3}0.002{col 57}{space 4} .2156436{col 70}{space 3} .9060742
{txt}{space 7}ppltrust {c |}{col 17}{res}{space 2} .0298092{col 29}{space 2} .2555651{col 40}{space 1}    0.12{col 49}{space 3}0.907{col 57}{space 4}-.4798993{col 70}{space 3} .5395178
{txt}{space 9}polint {c |}{col 17}{res}{space 2} .0922253{col 29}{space 2} .1604115{col 40}{space 1}    0.57{col 49}{space 3}0.567{col 57}{space 4}-.2277054{col 70}{space 3} .4121559
{txt}{space 9}agecat {c |}{col 17}{res}{space 2} .5264493{col 29}{space 2} .4412589{col 40}{space 1}    1.19{col 49}{space 3}0.237{col 57}{space 4}-.3536138{col 70}{space 3} 1.406512
{txt}{space 10}agesq {c |}{col 17}{res}{space 2} -.454066{col 29}{space 2} .4171499{col 40}{space 1}   -1.09{col 49}{space 3}0.280{col 57}{space 4}-1.286045{col 70}{space 3} .3779132
{txt}{space 9}educat {c |}{col 17}{res}{space 2}-.0123841{col 29}{space 2} .1499821{col 40}{space 1}   -0.08{col 49}{space 3}0.934{col 57}{space 4}-.3115141{col 70}{space 3} .2867458
{txt}{space 10}_cons {c |}{col 17}{res}{space 2}-.2188612{col 29}{space 2} .3556219{col 40}{space 1}   -0.62{col 49}{space 3}0.540{col 57}{space 4}-.9281267{col 70}{space 3} .4904044
{txt}{hline 16}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. 
. //replicate appendix 8
.         gen nationtypes2=.
{txt}(1,004 missing values generated)

{com}.         replace nationtypes2=1 if territory==1 & countrygov==1 & countrymen==1
{txt}(592 real changes made)

{com}.         replace nationtypes2=2 if territory==1 & countrygov==1 & countrymen==0
{txt}(143 real changes made)

{com}.         replace nationtypes2=3 if territory==0 & countrygov==0 & countrymen==0
{txt}(97 real changes made)

{com}. 
. reg dutyvote c.nation_close##c.trust_elections collective ppltrust polint agecat agesq educat [pweight=wt] if nationtypes2==1
{txt}(sum of wgt is   5.8693e+02)

Linear regression                               Number of obs     = {res}       586
                                                {txt}F(9, 576)         =  {res}     8.15
                                                {txt}Prob > F          = {res}    0.0000
                                                {txt}R-squared         = {res}    0.1243
                                                {txt}Root MSE          =    {res} .35833

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}         dutyvote{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      t{col 51}   P>|t|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}nation_close {c |}{col 19}{res}{space 2} .1336055{col 31}{space 2} .0926509{col 42}{space 1}    1.44{col 51}{space 3}0.150{col 59}{space 4}-.0483694{col 72}{space 3} .3155803
{txt}{space 2}trust_elections {c |}{col 19}{res}{space 2} -.024633{col 31}{space 2} .1265509{col 42}{space 1}   -0.19{col 51}{space 3}0.846{col 59}{space 4}-.2731905{col 72}{space 3} .2239244
{txt}{space 17} {c |}
{space 3}c.nation_close#{c |}
c.trust_elections {c |}{col 19}{res}{space 2}-.0002684{col 31}{space 2} .1693744{col 42}{space 1}   -0.00{col 51}{space 3}0.999{col 59}{space 4}-.3329351{col 72}{space 3} .3323982
{txt}{space 17} {c |}
{space 7}collective {c |}{col 19}{res}{space 2} .0506415{col 31}{space 2} .0624054{col 42}{space 1}    0.81{col 51}{space 3}0.417{col 59}{space 4}-.0719284{col 72}{space 3} .1732115
{txt}{space 9}ppltrust {c |}{col 19}{res}{space 2}-.1239074{col 31}{space 2} .0853766{col 42}{space 1}   -1.45{col 51}{space 3}0.147{col 59}{space 4}-.2915949{col 72}{space 3} .0437801
{txt}{space 11}polint {c |}{col 19}{res}{space 2} .3304573{col 31}{space 2} .0499087{col 42}{space 1}    6.62{col 51}{space 3}0.000{col 59}{space 4} .2324321{col 72}{space 3} .4284824
{txt}{space 11}agecat {c |}{col 19}{res}{space 2} .3619597{col 31}{space 2} .1596694{col 42}{space 1}    2.27{col 51}{space 3}0.024{col 59}{space 4} .0483545{col 72}{space 3}  .675565
{txt}{space 12}agesq {c |}{col 19}{res}{space 2}-.3788225{col 31}{space 2} .1779605{col 42}{space 1}   -2.13{col 51}{space 3}0.034{col 59}{space 4} -.728353{col 72}{space 3} -.029292
{txt}{space 11}educat {c |}{col 19}{res}{space 2}-.1172582{col 31}{space 2} .0711772{col 42}{space 1}   -1.65{col 51}{space 3}0.100{col 59}{space 4}-.2570568{col 72}{space 3} .0225403
{txt}{space 12}_cons {c |}{col 19}{res}{space 2} .3685538{col 31}{space 2} .1069879{col 42}{space 1}    3.44{col 51}{space 3}0.001{col 59}{space 4} .1584197{col 72}{space 3} .5786878
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. reg dutyvote c.nation_close##c.trust_elections collective ppltrust polint agecat agesq educat [pweight=wt] if nationtypes2==2
{txt}(sum of wgt is   1.5041e+02)

Linear regression                               Number of obs     = {res}       140
                                                {txt}F(9, 130)         =  {res}     1.69
                                                {txt}Prob > F          = {res}    0.0988
                                                {txt}R-squared         = {res}    0.1110
                                                {txt}Root MSE          =    {res} .34062

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}         dutyvote{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      t{col 51}   P>|t|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}nation_close {c |}{col 19}{res}{space 2}  .380085{col 31}{space 2}   .21268{col 42}{space 1}    1.79{col 51}{space 3}0.076{col 59}{space 4}-.0406769{col 72}{space 3} .8008469
{txt}{space 2}trust_elections {c |}{col 19}{res}{space 2} .2810802{col 31}{space 2} .2323998{col 42}{space 1}    1.21{col 51}{space 3}0.229{col 59}{space 4}-.1786951{col 72}{space 3} .7408555
{txt}{space 17} {c |}
{space 3}c.nation_close#{c |}
c.trust_elections {c |}{col 19}{res}{space 2}-.2996409{col 31}{space 2} .3004394{col 42}{space 1}   -1.00{col 51}{space 3}0.320{col 59}{space 4}-.8940243{col 72}{space 3} .2947425
{txt}{space 17} {c |}
{space 7}collective {c |}{col 19}{res}{space 2} .1307613{col 31}{space 2} .1339366{col 42}{space 1}    0.98{col 51}{space 3}0.331{col 59}{space 4}-.1342162{col 72}{space 3} .3957388
{txt}{space 9}ppltrust {c |}{col 19}{res}{space 2} .1659017{col 31}{space 2} .1703548{col 42}{space 1}    0.97{col 51}{space 3}0.332{col 59}{space 4}-.1711249{col 72}{space 3} .5029283
{txt}{space 11}polint {c |}{col 19}{res}{space 2}  .172971{col 31}{space 2} .1194046{col 42}{space 1}    1.45{col 51}{space 3}0.150{col 59}{space 4}-.0632567{col 72}{space 3} .4091987
{txt}{space 11}agecat {c |}{col 19}{res}{space 2} .2896866{col 31}{space 2} .3043706{col 42}{space 1}    0.95{col 51}{space 3}0.343{col 59}{space 4}-.3124741{col 72}{space 3} .8918474
{txt}{space 12}agesq {c |}{col 19}{res}{space 2}-.2448922{col 31}{space 2} .3118583{col 42}{space 1}   -0.79{col 51}{space 3}0.434{col 59}{space 4}-.8618665{col 72}{space 3} .3720821
{txt}{space 11}educat {c |}{col 19}{res}{space 2}-.1177856{col 31}{space 2} .1113671{col 42}{space 1}   -1.06{col 51}{space 3}0.292{col 59}{space 4}-.3381121{col 72}{space 3} .1025409
{txt}{space 12}_cons {c |}{col 19}{res}{space 2} .0121007{col 31}{space 2} .2382848{col 42}{space 1}    0.05{col 51}{space 3}0.960{col 59}{space 4}-.4593172{col 72}{space 3} .4835187
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. reg dutyvote c.nation_close##c.trust_elections collective ppltrust polint agecat agesq educat [pweight=wt] if nationtypes2==3
{txt}(sum of wgt is   9.9854e+01)

Linear regression                               Number of obs     = {res}        94
                                                {txt}F(9, 84)          =  {res}     9.00
                                                {txt}Prob > F          = {res}    0.0000
                                                {txt}R-squared         = {res}    0.3077
                                                {txt}Root MSE          =    {res} .35352

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}         dutyvote{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      t{col 51}   P>|t|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}nation_close {c |}{col 19}{res}{space 2} .8667596{col 31}{space 2} .2883176{col 42}{space 1}    3.01{col 51}{space 3}0.003{col 59}{space 4} .2934084{col 72}{space 3} 1.440111
{txt}{space 2}trust_elections {c |}{col 19}{res}{space 2} .5818917{col 31}{space 2} .2840106{col 42}{space 1}    2.05{col 51}{space 3}0.044{col 59}{space 4} .0171055{col 72}{space 3} 1.146678
{txt}{space 17} {c |}
{space 3}c.nation_close#{c |}
c.trust_elections {c |}{col 19}{res}{space 2}-.7612839{col 31}{space 2} .4132345{col 42}{space 1}   -1.84{col 51}{space 3}0.069{col 59}{space 4}-1.583046{col 72}{space 3} .0604782
{txt}{space 17} {c |}
{space 7}collective {c |}{col 19}{res}{space 2} .3568669{col 31}{space 2} .1791383{col 42}{space 1}    1.99{col 51}{space 3}0.050{col 59}{space 4} .0006307{col 72}{space 3}  .713103
{txt}{space 9}ppltrust {c |}{col 19}{res}{space 2}-.1364108{col 31}{space 2} .2907459{col 42}{space 1}   -0.47{col 51}{space 3}0.640{col 59}{space 4}-.7145909{col 72}{space 3} .4417692
{txt}{space 11}polint {c |}{col 19}{res}{space 2}-.0131214{col 31}{space 2} .1339008{col 42}{space 1}   -0.10{col 51}{space 3}0.922{col 59}{space 4}-.2793977{col 72}{space 3}  .253155
{txt}{space 11}agecat {c |}{col 19}{res}{space 2}  .543696{col 31}{space 2} .3865253{col 42}{space 1}    1.41{col 51}{space 3}0.163{col 59}{space 4}-.2249521{col 72}{space 3} 1.312344
{txt}{space 12}agesq {c |}{col 19}{res}{space 2}-.3765031{col 31}{space 2} .3850007{col 42}{space 1}   -0.98{col 51}{space 3}0.331{col 59}{space 4}-1.142119{col 72}{space 3} .3891129
{txt}{space 11}educat {c |}{col 19}{res}{space 2} .0937249{col 31}{space 2}  .163905{col 42}{space 1}    0.57{col 51}{space 3}0.569{col 59}{space 4}-.2322182{col 72}{space 3}  .419668
{txt}{space 12}_cons {c |}{col 19}{res}{space 2}-.3984158{col 31}{space 2} .1970995{col 42}{space 1}   -2.02{col 51}{space 3}0.046{col 59}{space 4}-.7903697{col 72}{space 3}-.0064619
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. 
. 
. //////// part 2: experiment /////////
> 
. gen duty=Q48
{txt}
{com}.         recode duty 1=1 2=0
{txt}(duty: 479 changes made)

{com}.         
. gen moreclose=Q47
{txt}
{com}.         recode moreclose 3/5=0 2=1 1=2
{txt}(moreclose: 1004 changes made)

{com}.         replace moreclose=moreclose/2
{txt}(645 real changes made)

{com}. replace trustgov3=trustgov3/2
{txt}(653 real changes made)

{com}. 
. 
. //replicate appendix 5: covariate balance check
. ttest female, by(treatment) 

{txt}Two-sample t test with equal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    504{col 22} .4305556{col 34} .0220778{col 46} .4956459{col 58} .3871794{col 70} .4739317
       {txt}1 {c |}{res}{col 12}    500{col 22}     .472{col 34} .0223479{col 46} .4997153{col 58} .4280923{col 70} .5159077
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}  1,004{col 22} .4511952{col 34} .0157123{col 46} .4978604{col 58} .4203624{col 70}  .482028
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0414444{col 34} .0314133{col 58}-.1030879{col 70}  .020199
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -1.3193
{txt}Ho: diff = 0                                     degrees of freedom = {res}    1002

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0937         {txt}Pr(|T| > |t|) = {res}0.1874          {txt}Pr(T > t) = {res}0.9063
{txt}
{com}. ttest agecat, by(treatment)

{txt}Two-sample t test with equal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    498{col 22} .3348394{col 34} .0133109{col 46} .2970446{col 58} .3086868{col 70} .3609919
       {txt}1 {c |}{res}{col 12}    492{col 22} .3170732{col 34} .0135207{col 46} .2999035{col 58} .2905076{col 70} .3436387
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    990{col 22} .3260101{col 34} .0094854{col 46} .2984502{col 58} .3073963{col 70} .3446239
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0177662{col 34} .0189723{col 58}-.0194644{col 70} .0549968
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.9364
{txt}Ho: diff = 0                                     degrees of freedom = {res}     988

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.8254         {txt}Pr(|T| > |t|) = {res}0.3493          {txt}Pr(T > t) = {res}0.1746
{txt}
{com}. ttest educat, by(treatment)

{txt}Two-sample t test with equal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    500{col 22} .8626667{col 34} .0107008{col 46} .2392782{col 58} .8416424{col 70} .8836909
       {txt}1 {c |}{res}{col 12}    496{col 22} .8642473{col 34} .0111301{col 46} .2478794{col 58} .8423792{col 70} .8861154
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    996{col 22} .8634538{col 34} .0077149{col 46} .2434783{col 58} .8483145{col 70} .8785932
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0015806{col 34} .0154376{col 58}-.0318747{col 70} .0287134
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.1024
{txt}Ho: diff = 0                                     degrees of freedom = {res}     994

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.4592         {txt}Pr(|T| > |t|) = {res}0.9185          {txt}Pr(T > t) = {res}0.5408
{txt}
{com}. ttest taiwan_nation, by(treatment)

{txt}Two-sample t test with equal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    504{col 22}  .234127{col 34} .0188808{col 46} .4238727{col 58} .1970321{col 70} .2712219
       {txt}1 {c |}{res}{col 12}    500{col 22}     .258{col 34} .0195867{col 46} .4379722{col 58} .2195174{col 70} .2964826
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}  1,004{col 22} .2460159{col 34} .0135992{col 46} .4309026{col 58} .2193299{col 70}  .272702
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} -.023873{col 34} .0272017{col 58}-.0772518{col 70} .0295057
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.8776
{txt}Ho: diff = 0                                     degrees of freedom = {res}    1002

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.1902         {txt}Pr(|T| > |t|) = {res}0.3804          {txt}Pr(T > t) = {res}0.8098
{txt}
{com}. ttest taiwan_state1, by(treatment)

{txt}Two-sample t test with equal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    504{col 22} .3492063{col 34} .0212559{col 46} .4771929{col 58} .3074451{col 70} .3909676
       {txt}1 {c |}{res}{col 12}    500{col 22}     .338{col 34} .0211757{col 46} .4735023{col 58} .2963955{col 70} .3796045
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}  1,004{col 22} .3436255{col 34} .0149957{col 46} .4751546{col 58} .3141989{col 70} .3730521
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0112063{col 34} .0300046{col 58}-.0476727{col 70} .0700854
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.3735
{txt}Ho: diff = 0                                     degrees of freedom = {res}    1002

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.6456         {txt}Pr(|T| > |t|) = {res}0.7089          {txt}Pr(T > t) = {res}0.3544
{txt}
{com}. ttest taiwan_partchina, by(treatment)

{txt}Two-sample t test with equal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    504{col 22} .0912698{col 34} .0128409{col 46} .2882786{col 58} .0660413{col 70} .1164983
       {txt}1 {c |}{res}{col 12}    500{col 22}     .074{col 34} .0117185{col 46} .2620331{col 58} .0509764{col 70} .0970236
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}  1,004{col 22} .0826693{col 34} .0086953{col 46}  .275519{col 58} .0656063{col 70} .0997324
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0172698{col 34} .0173909{col 58}-.0168568{col 70} .0513965
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.9930
{txt}Ho: diff = 0                                     degrees of freedom = {res}    1002

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.8395         {txt}Pr(|T| > |t|) = {res}0.3209          {txt}Pr(T > t) = {res}0.1605
{txt}
{com}. ttest taiwan_partchina1, by(treatment)

{txt}Two-sample t test with equal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    504{col 22}  .047619{col 34} .0094954{col 46} .2131704{col 58} .0289636{col 70} .0662745
       {txt}1 {c |}{res}{col 12}    500{col 22}     .064{col 34} .0109566{col 46} .2449981{col 58} .0424732{col 70} .0855268
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}  1,004{col 22} .0557769{col 34} .0072463{col 46} .2296047{col 58} .0415573{col 70} .0699965
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} -.016381{col 34} .0144906{col 58}-.0448164{col 70} .0120545
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -1.1305
{txt}Ho: diff = 0                                     degrees of freedom = {res}    1002

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.1293         {txt}Pr(|T| > |t|) = {res}0.2586          {txt}Pr(T > t) = {res}0.8707
{txt}
{com}. ttest collective, by(treatment)

{txt}Two-sample t test with equal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    504{col 22} .4742064{col 34} .0121169{col 46}  .272023{col 58} .4504005{col 70} .4980123
       {txt}1 {c |}{res}{col 12}    500{col 22} .4933333{col 34} .0125345{col 46} .2802804{col 58} .4687064{col 70} .5179603
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}  1,004{col 22} .4837318{col 34} .0087166{col 46} .2761942{col 58} .4666269{col 70} .5008366
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} -.019127{col 34} .0174316{col 58}-.0533336{col 70} .0150796
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -1.0973
{txt}Ho: diff = 0                                     degrees of freedom = {res}    1002

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.1364         {txt}Pr(|T| > |t|) = {res}0.2728          {txt}Pr(T > t) = {res}0.8636
{txt}
{com}. ttest trustgov3, by(treatment)

{txt}Two-sample t test with equal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    504{col 22} .3968254{col 34} .0154654{col 46} .3471982{col 58} .3664406{col 70} .4272102
       {txt}1 {c |}{res}{col 12}    500{col 22}     .421{col 34} .0155886{col 46} .3485714{col 58} .3903726{col 70} .4516274
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}  1,004{col 22} .4088645{col 34} .0109802{col 46} .3479195{col 58} .3873177{col 70} .4304114
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0241746{col 34} .0219583{col 58}-.0672642{col 70}  .018915
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -1.1009
{txt}Ho: diff = 0                                     degrees of freedom = {res}    1002

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.1356         {txt}Pr(|T| > |t|) = {res}0.2712          {txt}Pr(T > t) = {res}0.8644
{txt}
{com}. 
. *** treatment effects (duty attitude)***
. 
. // replicate figure 2
.         reg duty treatment if nationtypes!=. [pweight=wt]
{txt}(sum of wgt is   6.9086e+02)

Linear regression                               Number of obs     = {res}       675
                                                {txt}F(1, 673)         =  {res}     0.68
                                                {txt}Prob > F          = {res}    0.4108
                                                {txt}R-squared         = {res}    0.0013
                                                {txt}Root MSE          =    {res} .50039

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}        duty{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 3}treatment {c |}{col 14}{res}{space 2} .0359979{col 26}{space 2} .0437414{col 37}{space 1}    0.82{col 46}{space 3}0.411{col 54}{space 4}-.0498881{col 67}{space 3} .1218838
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .4874589{col 26}{space 2} .0308353{col 37}{space 1}   15.81{col 46}{space 3}0.000{col 54}{space 4} .4269138{col 67}{space 3} .5480039
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}.         estimates store all
{txt}
{com}.         
.         reg duty treatment if taiwan_nation==1 [pweight=wt]
{txt}(sum of wgt is   2.6124e+02)

Linear regression                               Number of obs     = {res}       247
                                                {txt}F(1, 245)         =  {res}     0.03
                                                {txt}Prob > F          = {res}    0.8621
                                                {txt}R-squared         = {res}    0.0002
                                                {txt}Root MSE          =    {res} .50163

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}        duty{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 3}treatment {c |}{col 14}{res}{space 2}  .012605{col 26}{space 2} .0724817{col 37}{space 1}    0.17{col 46}{space 3}0.862{col 54}{space 4}-.1301618{col 67}{space 3} .1553718
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}  .474497{col 26}{space 2}   .05227{col 37}{space 1}    9.08{col 46}{space 3}0.000{col 54}{space 4}  .371541{col 67}{space 3} .5774529
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}.         estimates store taiwan
{txt}
{com}.         
.         reg duty treatment if taiwan_partchina==1 | taiwan_partchina1==1 [pweight=wt]
{txt}(sum of wgt is   1.5062e+02)

Linear regression                               Number of obs     = {res}       139
                                                {txt}F(1, 137)         =  {res}     4.02
                                                {txt}Prob > F          = {res}    0.0470
                                                {txt}R-squared         = {res}    0.0358
                                                {txt}Root MSE          =    {res} .48414

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}        duty{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 3}treatment {c |}{col 14}{res}{space 2} .1852502{col 26}{space 2} .0924296{col 37}{space 1}    2.00{col 46}{space 3}0.047{col 54}{space 4}  .002477{col 67}{space 3} .3680234
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .5097655{col 26}{space 2} .0666721{col 37}{space 1}    7.65{col 46}{space 3}0.000{col 54}{space 4}  .377926{col 67}{space 3}  .641605
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}.         estimates store china
{txt}
{com}.         
.         coefplot all taiwan china, drop(_cons)
{res}{txt}
{com}.         
. // replicate appendix 6: manipulation check
. 
. by treatment, sort: tab moreclose

{txt}{hline}
-> treatment = 0

  moreclose {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          0 {c |}{res}        183       36.31       36.31
{txt}         .5 {c |}{res}        164       32.54       68.85
{txt}          1 {c |}{res}        157       31.15      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}        504      100.00

{txt}{hline}
-> treatment = 1

  moreclose {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          0 {c |}{res}        176       35.20       35.20
{txt}         .5 {c |}{res}        167       33.40       68.60
{txt}          1 {c |}{res}        157       31.40      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}        500      100.00

{txt}
{com}. ttest moreclose, by(treatment)

{txt}Two-sample t test with equal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    504{col 22} .4742063{col 34} .0182748{col 46} .4102675{col 58} .4383021{col 70} .5101106
       {txt}1 {c |}{res}{col 12}    500{col 22}     .481{col 34} .0182468{col 46} .4080097{col 58} .4451501{col 70} .5168499
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}  1,004{col 22} .4775896{col 34} .0129065{col 46} .4089548{col 58} .4522628{col 70} .5029165
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0067937{col 34} .0258252{col 58}-.0574713{col 70}  .043884
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.2631
{txt}Ho: diff = 0                                     degrees of freedom = {res}    1002

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.3963         {txt}Pr(|T| > |t|) = {res}0.7926          {txt}Pr(T > t) = {res}0.6037
{txt}
{com}. ttest moreclose if taiwan_partchina==1, by(treatment)

{txt}Two-sample t test with equal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     46{col 22} .2934783{col 34} .0613379{col 46}  .416014{col 58} .1699374{col 70} .4170192
       {txt}1 {c |}{res}{col 12}     37{col 22} .4324324{col 34} .0702905{col 46} .4275603{col 58} .2898767{col 70} .5749881
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     83{col 22} .3554217{col 34}  .046577{col 46} .4243368{col 58} .2627652{col 70} .4480782
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.1389542{col 34} .0930105{col 58}-.3240159{col 70} .0461075
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -1.4940
{txt}Ho: diff = 0                                     degrees of freedom = {res}      81

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0695         {txt}Pr(|T| > |t|) = {res}0.1391          {txt}Pr(T > t) = {res}0.9305
{txt}
{com}. ttest moreclose if taiwan_partchina==1 | taiwan_partchina1==1, by(treatment)

{txt}Two-sample t test with equal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     70{col 22} .3428571{col 34} .0514217{col 46} .4302246{col 58} .2402737{col 70} .4454406
       {txt}1 {c |}{res}{col 12}     69{col 22} .4275362{col 34} .0508615{col 46} .4224871{col 58} .3260438{col 70} .5290287
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    139{col 22} .3848921{col 34} .0362154{col 46} .4269735{col 58} .3132832{col 70}  .456501
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0846791{col 34} .0723357{col 58}-.2277179{col 70} .0583598
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -1.1706
{txt}Ho: diff = 0                                     degrees of freedom = {res}     137

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.1219         {txt}Pr(|T| > |t|) = {res}0.2438          {txt}Pr(T > t) = {res}0.8781
{txt}
{com}. 
. ttest moreclose if taiwan_state2==1, by(treatment)

{txt}Two-sample t test with equal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     55{col 22}       .5{col 34} .0565566{col 46} .4194352{col 58} .3866108{col 70} .6133892
       {txt}1 {c |}{res}{col 12}     60{col 22} .4083333{col 34} .0537987{col 46} .4167232{col 58} .3006823{col 70} .5159843
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    115{col 22} .4521739{col 34} .0390456{col 46} .4187173{col 58} .3748249{col 70} .5295229
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0916667{col 34} .0780352{col 58}-.0629351{col 70} .2462684
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  1.1747
{txt}Ho: diff = 0                                     degrees of freedom = {res}     113

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.8787         {txt}Pr(|T| > |t|) = {res}0.2426          {txt}Pr(T > t) = {res}0.1213
{txt}
{com}. ttest moreclose if taiwan_state1==1, by(treatment)

{txt}Two-sample t test with equal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    176{col 22} .4801136{col 34} .0302481{col 46} .4012865{col 58} .4204156{col 70} .5398117
       {txt}1 {c |}{res}{col 12}    169{col 22} .4615385{col 34} .0308378{col 46} .4008919{col 58} .4006589{col 70} .5224181
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    345{col 22} .4710145{col 34} .0215685{col 46} .4006178{col 58} .4285917{col 70} .5134373
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0185752{col 34} .0431972{col 58}-.0663895{col 70} .1035399
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.4300
{txt}Ho: diff = 0                                     degrees of freedom = {res}     343

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.6663         {txt}Pr(|T| > |t|) = {res}0.6675          {txt}Pr(T > t) = {res}0.3337
{txt}
{com}. ttest moreclose if taiwan_nation==1, by(treatment)

{txt}Two-sample t test with equal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    118{col 22} .5084746{col 34} .0375741{col 46} .4081596{col 58}  .434061{col 70} .5828882
       {txt}1 {c |}{res}{col 12}    129{col 22} .5891473{col 34} .0354279{col 46} .4023836{col 58} .5190471{col 70} .6592474
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    247{col 22} .5506073{col 34} .0258547{col 46}  .406339{col 58} .4996824{col 70} .6015322
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0806727{col 34} .0516096{col 58}-.1823279{col 70} .0209825
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -1.5631
{txt}Ho: diff = 0                                     degrees of freedom = {res}     245

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0597         {txt}Pr(|T| > |t|) = {res}0.1193          {txt}Pr(T > t) = {res}0.9403
{txt}
{com}. 
. //replicate graph
. 
. gen tc=.
{txt}(1,004 missing values generated)

{com}. replace tc=0 if taiwan_nation==1
{txt}(247 real changes made)

{com}. replace tc=1 if taiwan_partchina==1 | taiwan_partchina1==1
{txt}(139 real changes made)

{com}. 
. collapse (mean) meanclose=moreclose (sd) sdclose=moreclose (count) n=moreclose, by(treatment tc)
{txt}
{com}. gen hiclose=meanclose+invttail(n-1, 0.025)*(sdclose/sqrt(n))
{txt}
{com}. gen lowclose=meanclose-invttail(n-1, 0.025)*(sdclose/sqrt(n))
{txt}
{com}. graph twoway (bar meanclose treatment) (rcap hiclose lowclose treatment), by(tc)
{res}{txt}
{com}. 
{txt}end of do-file

{com}. log close
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}/Users/aramhur/Desktop/untitled folder/bjps taiwan_output.smcl
  {txt}log type:  {res}smcl
 {txt}closed on:  {res} 7 Feb 2018, 10:05:27
{txt}{.-}
{smcl}
{txt}{sf}{ul off}